#ifndef REGISTER_H
#define REGISTER_H

#include <QWidget>
#include <QNetworkInterface>//网络信息
#include <QHostAddress>//ip地址
#include <QTcpServer> //tcp协议
#include <QTcpSocket> //socket套接字
#include <QDebug>
#include "class.h" //用户类头文件

namespace Ui {
class Register;
}

class Register : public QWidget
{
    Q_OBJECT

public:
    explicit Register(QTcpSocket *socket,QWidget *parent = nullptr);
    ~Register();

private slots:
    void on_pushButton_reg_clicked();

private:
    Ui::Register *ui;
    QTcpSocket *socket; //客户端连接指针
};

#endif // REGISTER_H
